package com.mf.framework.common.model;

import java.io.Serializable;

/**
 * 远程分页实体
 * User: zhaoming
 * Date: 2017-11-06
 * To change this template use File | Settings | File Templates.
 */
public class RemotePage<T> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 分页查询对象
     */
    private T obj;
    /**
     * 分页对象
     */
    private Page page;

    public RemotePage(){}

    public RemotePage(T obj, Page page){
        this.obj = obj;
        this.page = page;
    }

    public T getObj() {
        return obj;
    }

    public void setObj(T obj) {
        this.obj = obj;
    }

    public Page getPage() {
        return page;
    }

    public void setPage(Page page) {
        this.page = page;
    }
}
